package com.cqhilink.iot.jobstandardmanagement.dao.mapper;

import com.cqhilink.iot.jobstandardmanagement.facade.model.Region;
import com.cqhilink.iot.jobstandardmanagement.facade.model.RegionalMaintenance;

import java.util.List;

public interface RegionalMaintenanceMapper {
    int deleteByPrimaryKey(String regionalMaintenanceId);

    int insert(RegionalMaintenance record);

    int insertSelective(RegionalMaintenance record);

    RegionalMaintenance selectByPrimaryKey(String regionalMaintenanceId);

    int selectRegionCount(RegionalMaintenance record);

    List<Region> selectRegionList(RegionalMaintenance record);

    int selectRegionalMaintenanceCount(RegionalMaintenance record);

    List<Region> selectRegionalMaintenanceList(RegionalMaintenance record);

    List<RegionalMaintenance> selectChildRegionalMaintenanceList(RegionalMaintenance record);

    int updateByPrimaryKeySelective(RegionalMaintenance record);

    int updateByPrimaryKey(RegionalMaintenance record);

    List<RegionalMaintenance> queryTable(RegionalMaintenance record) throws Exception ;

    Integer queryCount(RegionalMaintenance record) throws Exception ;

    List<RegionalMaintenance> queryRegionalMaintenanceList(String orgId);


}